{%include file="index.header.tpl.php"%}
{%include file="index.left.tpl.php"%}
<!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form action="" method="">	
                <div class="box-header with-border">
                    <span class="fa fa-edit" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">格式设置</p>
                    <a href="index.php?a=informstyle.InformStyleAdd" class="btn btn-success btn-sm" style="float:right;">自定义</a>
                </div>
                   <div class="box-body"> 
                     <table class="table table-bordered"  id="mytable">
                                    <tr >
                                        <td>格式名称</td>
                                        <td>字体</td>
										<td>字号</td>
										<td>加粗</td>
                                        <td>斜体</td>
                                        <td>颜色</td>
										<td>操作</td>
                                    </tr>
									{%foreach from=$style_lists key=key item=value%}
                                    <tr>
									    <td>{%$value.style_name%}</td>
                                        <td>{%$value.style_typeface%}</td>
										<td>{%$value.style_number%}</td>
										<td>{%$value.style_overstriking%}</td>
                                        <td>{%$value.style_italic%}</td>
                                        <td>{%if $value.style_color =='red'%}红色{%elseif $value.style_color =='green'%}绿色{%else $value.style_color =='black'%}黑色{%/if%}</td>
										<td>
										<a href="index.php?a=informstyle.InformStyleUpdate&style_id={%$value.style_id%}" class="btn btn-warning btn-xs"> 修  改 </a>
										<a href="index.php?a=informstyle.InformStyleDel&style_id={%$value.style_id%}" class="btn btn-danger btn-xs" onclick="if(confirm('警告！确认删除信息?')==false)return false;"> 删 除</a>
										</td>
                                    </tr>	
									{%/foreach%}
                                     	
                       </table>   
				   </div><!--box-body -->
               </form>
           </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
{%include file="index.footer.tpl.php"%}
